home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / admin / dig-2.0 / dig-2 / dig.2.0 / Linux.patches < prev    next >
Encoding:
Text File  |  1994-03-17  |  942 b   |  35 lines

  1. diff --unified=5 --recursive dig/dig.c dig.linux/dig.c
  2. --- dig/dig.c    Tue Sep  4 11:49:24 1990
  3. +++ dig.linux/dig.c    Wed Mar 16 22:17:17 1994
  4. @@ -276,11 +276,11 @@
  5.           }
  6.           break;
  7.         case 't': 
  8.           if ((tmp = atoi(*++argv)) || *argv[0]=='0') {
  9.             qtype = tmp;
  10. -         } else if (tmp = StringToClass(*argv,0)) {
  11. +         } else if (tmp = StringToType(*argv,0)) {
  12.             qtype = tmp;
  13.           } else {
  14.             printf("; invalid type specified\n");
  15.           }
  16.           break;
  17. diff --unified=5 --recursive dig/hfiles.h dig.linux/hfiles.h
  18. --- dig/hfiles.h    Fri Aug 31 16:56:39 1990
  19. +++ dig.linux/hfiles.h    Wed Mar 16 21:55:23 1994
  20. @@ -2,10 +2,15 @@
  21.  /*
  22.  ** Distributed with 'dig' version 2.0 from University of Southern
  23.  ** California Information Sciences Institute (USC-ISI). 9/1/90
  24.  */
  25.  
  26. +#ifdef __linux__
  27. +#define BIT_ZERO_ON_RIGHT 1
  28. +#include <linux/types.h>
  29. +#endif
  30. +
  31.  /*
  32.  #define PARAMH     "param.h"
  33.  */
  34.  #define PARAMH   <sys/param.h>
  35.